# -*- coding: UTF-8 -*-"""modify default urlRevision ID: 4e0b33cf96e0Revises: 43d2714c4448Create Date: 2013-11-05 09:25:22.002000"""# revision identifiers, used by Alembic.revision = '4e0b33cf96e0'down_revision = '43d2714c4448'from alembic import opimport sqlalchemy as sadef upgrade():    op.execute(u'update TB_GROUP set default_url = "/admin/" where name="管理员"')    op.execute(u'update TB_GROUP set default_url = NULL where name="车间主任"')def downgrade():    op.execute(u'update TB_GROUP set default_url = "/admin2/" where name="管理员"')    op.execute(u'update TB_GROUP set default_url = "/manufacture/" where name="车间主任"')